package com.slowfly.rule.engine.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.slowfly.rule.engine.entity.Record;
import com.slowfly.rule.engine.entity.Scene;
import com.slowfly.rule.engine.param.RecordParam;
import com.slowfly.rule.engine.result.ExecuteRiskResult;
import com.slowfly.rule.engine.result.PageResult;
import com.slowfly.rule.engine.result.RecordResult;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author shalongfei
 * @since 2024-02-28
 */
public interface IRecordService extends IService<Record> {

    void save(long riskId, long start, Object riskParam, Scene scene, ExecuteRiskResult result);

    PageResult<RecordResult> pageRecord(@RequestBody RecordParam param);

}
